package org.elanfox.intellicommunity.biz.service.core.msg;

import org.elanfox.intellicommunity.biz.entity.msg.AlarmMsgOptLogPO;
import org.elanfox.intellicommunity.common.ienum.MsgEnums;
import org.elanfox.intellicommunity.data.base.base.CrudService;

import java.util.List;

/**
 * @author allan
 * @version 1.0.0
 * @date 2019/12/27
 */
public interface AlarmMsgOptLogService extends CrudService<AlarmMsgOptLogPO, Long> {
    List<AlarmMsgOptLogPO> findByGroup(Long groupId);

    AlarmMsgOptLogPO findByGroupAndStatus(Long groupId, MsgEnums.AlarmStatus alarmStatus);
}
